import React from 'react';
// withRouter高阶组件增强当前组件，让没有和Route有直接关系的组件有了history/location/match对象
import { withRouter } from 'react-router-dom'

// 函数组件(UI组件)
const Footer = props => {
  // console.log(props)

  return (
    <div>
      我是一个底部菜单
    </div>
  );
}

export default withRouter(Footer);
